package jk.fox.invocation.proxy;


import jk.fox.engine.RpcNodeDefinition;
import jk.fox.invocation.Invocation;

/**
 *@author cuichao
 * @Description: JdkProxyFactory
 * @Date: create in 2020/4/12 14:00
 */
public interface ProxyFactory {
    /**
     * 代理Rpc接口
     * @param definition
     * @param invocation
     * @return
     */
    Object getProxy(RpcNodeDefinition definition, Invocation invocation);

}
